package com.chx.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author cp-月入过万
 * @Date 2025/5/30
 */
@Data
public class SaleOrderDetailDto implements Serializable {
    //商品ID，外键，关联Products表的productId字段
    @ApiModelProperty("商品ID")
    private Long productId;

    //销售价格
     @ApiModelProperty("销售价格")
    private Double salePrice;

    //销售数量
    @ApiModelProperty("销售数量")
    private Long quantity;

    //小计金额
     @ApiModelProperty("小计金额")
    private Double subtotal;
}
